package com.frank.oj.service.entity.msg;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.frank.model.entity.msg.MsgRemind;
import com.frank.oj.model.vo.UserMsgVO;
import com.frank.oj.model.vo.UserUnreadMsgCountVO;

/**
 * @author frank
 * @Date 2024/1/25
 */
public interface MsgRemindEntityService extends IService<MsgRemind> {
    UserUnreadMsgCountVO getUnreadMsgCount(String uid);

    IPage<UserMsgVO> getUserMsg(Page<UserMsgVO> page, String uid, String action);
}
